Skip to content

test(nextjs): Add zero-infra orchestrion instrumentations to e2e app#22507

Merged
chargome merged 2 commits into
developfrom
test/nextjs-orchestrion-zero-infra-instrumentations
Jul 23, 2026
Merged

test(nextjs): Add zero-infra orchestrion instrumentations to e2e app#22507
chargome merged 2 commits into
developfrom
test/nextjs-orchestrion-zero-infra-instrumentations

Conversation

@chargome

@chargome chargome commented Jul 22, 2026

Copy link
Copy Markdown
Member

Adds e2e coverage for generic-pool, lru-memoizer, dataloader and knex orchestrion instrumentations in the nextjs-16-orchestrion app. No new infra — knex reuses the existing Postgres container, the rest are pure-JS. dataloader and knex are opt-in, so they're added explicitly in the server config.

Closes #22504

Add e2e coverage for generic-pool, lru-memoizer, dataloader and knex orchestrion
instrumentations in the nextjs-16-orchestrion app. None require new infra: knex reuses
the existing Postgres container, the rest are pure-JS. dataloader and knex are opt-in
integrations, so they are added explicitly in the server config.

Fixes #22504
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chargome chargome self-assigned this Jul 22, 2026
@chargome

chargome commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

buglitzer run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3d0e11c. Configure here.

…tore

The load callback was fired inside the startSpan callback, so the memoized callback could see
the check span through normal async context propagation — the assertion passed even when
orchestrion's context restore was broken. Fire the load after startSpan returns (outside the
span's active context) so only the restore can make the callback observe the span, matching the
node lru-memoizer integration test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chargome
chargome marked this pull request as ready for review July 23, 2026 07:30
@chargome
chargome merged commit daf7ff4 into develop Jul 23, 2026
283 checks passed
@chargome
chargome deleted the test/nextjs-orchestrion-zero-infra-instrumentations branch July 23, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add zero-infra orchestrion instrumentations to nextjs-16-orchestrion

2 participants